#!/bin/bash

LOCAL_DIR=$(cd `dirname $0`;pwd)

WORK_DIR=$LOCAL_DIR/files.env

SYNC_SHELL=$LOCAL_DIR/b.sh

for line in $(awk '{print}' $WORK_DIR); do
  nohup $SYNC_SHELL "$line" > run.log &
done